package com.project.personnel.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 * 人事统计记录
 * </p>
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Personnelrecord implements Serializable {

    private static final long serialVersionUID=1L;

//    /**
//     * ID
//     */
//    @TableId(value = "id", type = IdType.AUTO)
//    private Integer id;
    /**
     * 员工工号
     */
    @TableField("eid")
    private Integer eid;
    /**
     * 员工姓名
     */
    @TableField("name")
    private String name;
    /**
     * 人事事项
     */
    @TableField("items")
    private String items;
    /**
     * 时间
     */
    @TableField("time")
    private Date time;
    /**
     * 备注
     */
    @TableField("remark")
    private String remark;


    public Personnelrecord(Integer eid, String s, String items, Date ecDate, String remark) {
        this.eid=eid;
        this.name=s;
        this.items=items;
        this.time=ecDate;
        this.remark=remark;
    }
}
